package com.erp.erp_ui.ProductMainInfo.req;

import java.util.List;

/**
 * @ClassName : ProductMargeReq
 * @Description : 产品合并入参实体
 * @Author : lst
 * @Date: 2021-09-23 16:18
 */
public class ProductMargeReq {

    /**
     * 产品id
     */
    private Integer id;

    /**
     * 产品编码
     */
    private String productCode;

    /**
     * 规格编码
     */
    private String specCode;

    /**
     * 配件信息集合
     */
    private List<SpecMargeReq> specMargeList;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecCode() {
        return specCode;
    }

    public void setSpecCode(String specCode) {
        this.specCode = specCode;
    }

    public List<SpecMargeReq> getSpecMargeList() {
        return specMargeList;
    }

    public void setSpecMargeList(List<SpecMargeReq> specMargeList) {
        this.specMargeList = specMargeList;
    }


    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ProductMargeReq").append('[')
                .append("id=")
                .append(id)
                .append(",productCode=")
                .append(productCode)
                .append(",specCode=")
                .append(specCode)
                .append(",specMargeList=")
                .append(specMargeList)
                .append(']');
        return sb.toString();
    }
}
